<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>File Source for test.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
						<h1>Source for file test.php</h1>
<p>Documentation is available at <a href="../data.lotro.com PHP Helper Class/_demo---test.php.html">test.php</a></p>
<div class="src-code">
<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php">&lt;?php&nbsp;</span></div></li>
<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li>
<li><div class="src-line"><a name="a3"></a><span class="src-doc">&nbsp;*&nbsp;Distributed&nbsp;under&nbsp;the&nbsp;terms&nbsp;of&nbsp;the&nbsp;Eclipse&nbsp;Public&nbsp;License&nbsp;-&nbsp;v&nbsp;1.0&nbsp;(see&nbsp;epl-v10.html)</span></div></li>
<li><div class="src-line"><a name="a4"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a5"></a><span class="src-doc">&nbsp;*&nbsp;If&nbsp;you&nbsp;use&nbsp;this&nbsp;software&nbsp;please&nbsp;consider&nbsp;contributing&nbsp;your&nbsp;revisions&nbsp;or&nbsp;extensions&nbsp;back</span></div></li>
<li><div class="src-line"><a name="a6"></a><span class="src-doc">&nbsp;*&nbsp;to&nbsp;the&nbsp;google&nbsp;code&nbsp;project&nbsp;at:</span></div></li>
<li><div class="src-line"><a name="a7"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://code.google.com/p/data-lotro-com-php-helper-class/</span></div></li>
<li><div class="src-line"><a name="a8"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a9"></a><span class="src-doc">&nbsp;*&nbsp;Also&nbsp;consider&nbsp;adding&nbsp;an&nbsp;acknowledgement&nbsp;to&nbsp;your&nbsp;website:</span></div></li>
<li><div class="src-line"><a name="a10"></a><span class="src-doc">&nbsp;*&nbsp;&nbsp;&quot;This&nbsp;site&nbsp;uses&nbsp;the&nbsp;data.lotro.com&nbsp;PHP&nbsp;helper&nbsp;class&nbsp;provided&nbsp;by&nbsp;Chris&nbsp;Thomson&nbsp;and&nbsp;Renkosi.com&quot;</span></div></li>
<li><div class="src-line"><a name="a11"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a12"></a><span class="src-doc">&nbsp;*&nbsp;This&nbsp;page&nbsp;is&nbsp;used&nbsp;as&nbsp;an&nbsp;example&nbsp;to&nbsp;test&nbsp;the&nbsp;client.</span></div></li>
<li><div class="src-line"><a name="a13"></a><span class="src-doc">&nbsp;*&nbsp;Please&nbsp;configure&nbsp;the&nbsp;settings&nbsp;in&nbsp;lotroapi.config.php&nbsp;before&nbsp;using&nbsp;this&nbsp;page.</span></div></li>
<li><div class="src-line"><a name="a14"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a15"></a><span class="src-doc">&nbsp;*&nbsp;Change&nbsp;Log:</span></div></li>
<li><div class="src-line"><a name="a16"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a17"></a><span class="src-doc">&nbsp;*&nbsp;v0.1&nbsp;-&nbsp;Alpha&nbsp;release&nbsp;for&nbsp;testing.&nbsp;(CTHOMSON&nbsp;-&nbsp;14/4/2009)</span></div></li>
<li><div class="src-line"><a name="a18"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a19"></a><span class="src-doc">&nbsp;*&nbsp;v0.2&nbsp;-&nbsp;Updates&nbsp;to&nbsp;test&nbsp;new&nbsp;functionality.&nbsp;(CTHOMSON&nbsp;-&nbsp;16/5/2009)</span></div></li>
<li><div class="src-line"><a name="a20"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a21"></a><span class="src-doc">&nbsp;*</span></div></li>
<li><div class="src-line"><a name="a22"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@author</span><span class="src-doc">&nbsp;Chris&nbsp;Thomson&nbsp;&lt;renkosi@smog-it.co.uk&gt;</span></div></li>
<li><div class="src-line"><a name="a23"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@copyright</span><span class="src-doc">&nbsp;Copyright&nbsp;(c)&nbsp;2009,&nbsp;Chris&nbsp;Thomson</span></div></li>
<li><div class="src-line"><a name="a24"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@see</span><span class="src-doc">&nbsp;lotroapi.config.php</span></div></li>
<li><div class="src-line"><a name="a25"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@version</span><span class="src-doc">&nbsp;0.2</span></div></li>
<li><div class="src-line"><a name="a26"></a><span class="src-doc">&nbsp;*/</span></div></li>
<li><div class="src-line"><a name="a27"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a28"></a><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a29"></a>&lt;html&gt;</div></li>
<li><div class="src-line"><a name="a30"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;head&gt;</div></li>
<li><div class="src-line"><a name="a31"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;data.lotro.com&nbsp;helper&nbsp;class&nbsp;example&lt;/title&gt;</div></li>
<li><div class="src-line"><a name="a32"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a33"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script&nbsp;type=&quot;text/javascript&quot;&nbsp;src=&quot;http://content.level3.turbine.com/sites/lorebook.lotro.com/js/onering.js&quot;&gt;&lt;/script&gt;</div></li>
<li><div class="src-line"><a name="a34"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/head&gt;</div></li>
<li><div class="src-line"><a name="a35"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;body&gt;</div></li>
<li><div class="src-line"><a name="a36"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php</span></div></li>
<li><div class="src-line"><a name="a37"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-str">&quot;../src/lotroapi.php&quot;</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a38"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$kinship&nbsp;</span>=&nbsp;<span class="src-str">&quot;Knights+of+the+White+Lady&quot;</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a39"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$world&nbsp;</span>=&nbsp;<span class="src-str">&quot;Landroval&quot;</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a40"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$player&nbsp;</span>=&nbsp;<span class="src-str">&quot;Valdidar&quot;</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a41"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></li>
<li><div class="src-line"><a name="a42"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$api&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id">api</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a43"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></li>
<li><div class="src-line"><a name="a44"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$c&nbsp;</span>=&nbsp;<span class="src-var">$api</span><span class="src-sym">-&gt;</span><span class="src-id">getCharacterSheet</span><span class="src-sym">(</span><span class="src-var">$world</span><span class="src-sym">,&nbsp;</span><span class="src-var">$player</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a45"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></li>
<li><div class="src-line"><a name="a46"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$k&nbsp;</span>=&nbsp;<span class="src-var">$api</span><span class="src-sym">-&gt;</span><span class="src-id">getGuildRoster</span><span class="src-sym">(</span><span class="src-var">$world</span><span class="src-sym">,&nbsp;</span><span class="src-var">$kinship</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a47"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></li>
<li><div class="src-line"><a name="a48"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></li>
<li><div class="src-line"><a name="a49"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a50"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h1&gt;Character&nbsp;information&nbsp;for:&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">name</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>(<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">level</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>)&nbsp;a&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">cclass</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&nbsp;on&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">world</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/h1&gt;</div></li>
<li><div class="src-line"><a name="a51"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">if</span><span class="src-sym">(</span><span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">monster</span>!=<span class="src-num">0</span><span class="src-sym">)</span>:<span class="src-php">?&gt;</span>&lt;h2&gt;Is&nbsp;a&nbsp;monster&lt;/h2&gt;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">endif</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a52"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">race</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&nbsp;from&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">origin</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/h2&gt;</div></li>
<li><div class="src-line"><a name="a53"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h3&gt;Crafting&nbsp;vocation:&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">vocation</span><span class="src-sym">-&gt;</span><span class="src-id">name</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/h3&gt;</div></li>
<li><div class="src-line"><a name="a54"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;&nbsp;</div></li>
<li><div class="src-line"><a name="a55"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">vocation</span><span class="src-sym">-&gt;</span><span class="src-id">professions&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$p</span><span class="src-sym">)</span>:&nbsp;<span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a56"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">name</span><span class="src-sym">;</span><span class="src-php">?&gt;</span>&nbsp;proficient&nbsp;at:&nbsp;<span class="src-php">&lt;?php&nbsp;</span></div></li>
<li><div class="src-line"><a name="a57"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">switch&nbsp;</span><span class="src-sym">(</span><span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">proficiency</span><span class="src-sym">)&nbsp;</span><span class="src-sym">{&nbsp;</span></div></li>
<li><div class="src-line"><a name="a58"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">1</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Apprentice&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a59"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">2</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Journeyman&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a60"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">3</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Expert&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a61"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">4</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Artisan&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a62"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">5</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Master&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a63"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">6</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Supreme&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a64"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-sym">}&nbsp;</span><span class="src-php">?&gt;</span>&nbsp;mastered:&nbsp;<span class="src-php">&lt;?php&nbsp;</span></div></li>
<li><div class="src-line"><a name="a65"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">switch&nbsp;</span><span class="src-sym">(</span><span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">mastery</span><span class="src-sym">)&nbsp;</span><span class="src-sym">{&nbsp;</span></div></li>
<li><div class="src-line"><a name="a66"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">1</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Apprentice&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a67"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">2</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Journeyman&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a68"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">3</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Expert&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a69"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">4</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Artisan&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a70"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">5</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Master&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a71"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">case&nbsp;</span><span class="src-num">6</span>:&nbsp;echo&nbsp;<span class="src-str">&quot;Supreme&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">break</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a72"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-sym">}&nbsp;</span><span class="src-php">?&gt;</span>&lt;/li&gt;</div></li>
<li><div class="src-line"><a name="a73"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">endforeach</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a74"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;</div></li>
<li><div class="src-line"><a name="a75"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h3&gt;Monster&nbsp;play&lt;/h3&gt;</div></li>
<li><div class="src-line"><a name="a76"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Rank:&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">pvmp</span><span class="src-sym">-&gt;</span><span class="src-id">gloryRank</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>,&nbsp;Rating&nbsp;points:&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">pvmp</span><span class="src-sym">-&gt;</span><span class="src-id">ratingPoints</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>,&nbsp;Glory&nbsp;points:&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">pvmp</span><span class="src-sym">-&gt;</span><span class="src-id">gloryPoints</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/p&gt;</div></li>
<li><div class="src-line"><a name="a77"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h3&gt;Statistics&lt;/h3&gt;</div></li>
<li><div class="src-line"><a name="a78"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;</div></li>
<li><div class="src-line"><a name="a79"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">stats&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$p</span><span class="src-sym">)</span>:&nbsp;<span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a80"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">name</span><span class="src-sym">;</span><span class="src-php">?&gt;</span>&nbsp;-&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">value</span><span class="src-sym">;</span><span class="src-php">?&gt;</span>&lt;/li&gt;</div></li>
<li><div class="src-line"><a name="a81"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">endforeach</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a82"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;</div></li>
<li><div class="src-line"><a name="a83"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h3&gt;Equipment&lt;/h3&gt;</div></li>
<li><div class="src-line"><a name="a84"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;</div></li>
<li><div class="src-line"><a name="a85"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-var">$c</span><span class="src-sym">-&gt;</span><span class="src-id">items&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$p</span><span class="src-sym">)</span>:&nbsp;<span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a86"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;img&nbsp;src=&quot;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">getIconURL</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&quot;&nbsp;/&gt;&lt;a&nbsp;href=&quot;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">lorebookEntry</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&quot;&gt;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">name</span><span class="src-sym">;</span><span class="src-php">?&gt;</span>&lt;/a&gt;&nbsp;-&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$p</span><span class="src-sym">-&gt;</span><span class="src-id">slot</span><span class="src-sym">;</span><span class="src-php">?&gt;</span>&lt;/li&gt;</div></li>
<li><div class="src-line"><a name="a87"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">endforeach</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a88"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;</div></li>
<li><div class="src-line"><a name="a89"></a>&nbsp;&nbsp;&nbsp;&nbsp;</div></li>
<li><div class="src-line"><a name="a90"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h1&gt;Kinship&nbsp;roster&nbsp;for:&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$k</span><span class="src-sym">-&gt;</span><span class="src-id">name</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>(<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$k</span><span class="src-sym">-&gt;</span><span class="src-id">memberCount</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>)&nbsp;on&nbsp;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$k</span><span class="src-sym">-&gt;</span><span class="src-id">world</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/h1&gt;</div></li>
<li><div class="src-line"><a name="a91"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$k</span><span class="src-sym">-&gt;</span><span class="src-id">theme</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/h2&gt;</div></li>
<li><div class="src-line"><a name="a92"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Is&nbsp;a&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">if&nbsp;</span><span class="src-sym">(</span><span class="src-var">$k</span><span class="src-sym">-&gt;</span><span class="src-id">isKinship</span><span class="src-sym">(</span><span class="src-sym">))&nbsp;</span>echo&nbsp;<span class="src-str">&quot;kinship&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-key">else&nbsp;</span>echo&nbsp;<span class="src-str">&quot;tribe&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>.&lt;/p&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;</div></li>
<li><div class="src-line"><a name="a93"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-var">$k</span><span class="src-sym">-&gt;</span><span class="src-id">characters&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$char</span><span class="src-sym">)</span>:&nbsp;<span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a94"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-str">&quot;name:&nbsp;&quot;</span>.<span class="src-var">$char</span><span class="src-sym">-&gt;</span><span class="src-id">name</span>.<span class="src-str">&quot;,&nbsp;level:&nbsp;&quot;</span>.<span class="src-var">$char</span><span class="src-sym">-&gt;</span><span class="src-id">level</span>.<span class="src-str">&quot;&nbsp;class:&nbsp;&quot;</span>.<span class="src-var">$char</span><span class="src-sym">-&gt;</span><span class="src-id">cclass</span>.<span class="src-str">&quot;,&nbsp;race:&nbsp;&quot;</span>.<span class="src-var">$char</span><span class="src-sym">-&gt;</span><span class="src-id">race</span>.<span class="src-str">&quot;&nbsp;rank:&nbsp;&quot;</span>.<span class="src-var">$char</span><span class="src-sym">-&gt;</span><span class="src-id">rank</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/li&gt;</div></li>
<li><div class="src-line"><a name="a95"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php&nbsp;</span><span class="src-key">endforeach</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a96"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;</div></li>
<li><div class="src-line"><a name="a97"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a98"></a><span class="src-php">&lt;?php</span></div></li>
<li><div class="src-line"><a name="a99"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a100"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$item&nbsp;</span>=&nbsp;<span class="src-var">$api</span><span class="src-sym">-&gt;</span><span class="src-id">getItemInformation</span><span class="src-sym">(</span><span class="src-str">&quot;1879097424&quot;</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a101"></a>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;<span class="src-var">$item</span><span class="src-sym">-&gt;</span><span class="src-id">toString</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;</span></div></li>
<li><div class="src-line"><a name="a102"></a><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line"><a name="a103"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a104"></a>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/body&gt;</div></li>
<li><div class="src-line"><a name="a105"></a>&lt;/html&gt;</div></li>
</ol></div>
</div>
	<p class="notes" id="credit">
		Documentation generated on Sun, 17 May 2009 13:30:09 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</body>
</html>